import sys

s1 = sys.argv[1]

def get_top_name(string):
    s = string.split('.')[-6]
    return s.split('/')[-1]

print(get_top_name(s1))